#pragma once
#include "primitive.h"

namespace CAD_CAM
{
	class Cube :
		public Primitive
	{
	public:
		Cube(void);
		Cube(float size);
		Cube(QVector3D position, float size);
		Cube(QVector3D position);

		~Cube(void);
	
		void DrawShader(QGLShaderProgram& shaderProgram, QMatrix4x4& viewMatrix, QMatrix4x4& projectionMatrix);

	private:
		void build();
	};
}